<!--
@Author: 刘洋 3016218175

@Date: 2018-12-12

@行政人员员工信息注册界面

@Last Modified time: 2018-12-16-->
    <div class="register-box-body col-md-offset-3" style="width: 50%;text-align: center">
      <p class="login-box-msg">注册一个新员工</p>
  
      <div action="../../index.html" method="post">
        <div class="form-group has-feedback">
          <input [(ngModel)] = "user_name" type="text" class="form-control" placeholder="用户名">
          <span class="glyphicon glyphicon-user form-control-feedback"></span>
        </div>
        <div class="form-group has-feedback">
            <input [(ngModel)]="id" type="number" class="form-control" placeholder="员工ID">
            <span class="glyphicon glyphicon-barcode form-control-feedback"></span>
        </div>
        <div class="form-group has-feedback">
            <input [(ngModel)]="name" type="text" class="form-control" placeholder="真实姓名">
            <span class="glyphicon glyphicon-magnet form-control-feedback"></span>
        </div>
        <div class="form-group has-feedback">
          <input [(ngModel)]="sex" type="text" class="form-control" placeholder="性别">
          <span class="glyphicon glyphicon-tags form-control-feedback"></span>
        </div>
        <div class="form-group has-feedback">
            <input [(ngModel)]="age" type="number" class="form-control" placeholder="年龄">
            <span class="glyphicon glyphicon-pencil form-control-feedback"></span>
          </div>
        <div class="form-group has-feedback">
              <input [(ngModel)]="department" type="text" class="form-control" placeholder="部门">
              <span class="glyphicon glyphicon-home form-control-feedback"></span>
          </div>
        <div class="form-group has-feedback">
                <input [(ngModel)]="position" type="text" class="form-control" placeholder="职位">
                <span class="glyphicon glyphicon-file form-control-feedback"></span>
        </div>
        <div class="form-group has-feedback">
              <input [(ngModel)]="annual_leave_length" type="number" class="form-control" placeholder="年假总数">
              <span class="glyphicon glyphicon-time form-control-feedback"></span>
        </div>
        <div class="form-group has-feedback">
          <input [(ngModel)]="password" type="password" class="form-control" placeholder="密码">
          <span class="glyphicon glyphicon-lock form-control-feedback"></span>
        </div>
        <div class="form-group has-feedback">
          <input [(ngModel)]="repassword" type="password" class="form-control" placeholder="重复密码">
          <span class="glyphicon glyphicon-log-in form-control-feedback"></span>
        </div>
        <div class="row">
          <div class="col-xs-12">
            <button type="button" class="btn btn-primary btn-block btn-flat" (click)="registerMan()">注册</button>
          </div>
          <!-- /.col -->
        </div>
      </div>
    </div>
    <!-- /.form-box -->
